package com.luban.service;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;

/**
 * @Author: lijunwei
 * @Time: 2021/2/16 13:39
 */
@Aspect
public class BeforeExample {
	@Pointcut("execution(* com.luban.service.*(..))")
	public void pointcut() {
	}

	@Before("pointcut()")
	public void doAccessCheck() {
		System.out.println("前置切面");
	}
}
